package cn.example.elasticsearch_demo.service;

import cn.example.elasticsearch_demo.common.CommonPage;
import cn.example.elasticsearch_demo.entiry.ESUser;

import java.util.List;

public interface ESService {

    String saveUser();

    void deleteAllUser();

    CommonPage<ESUser> searchUser(String keyword,Integer pageNum,Integer pageSize);

    ESUser searchById(Long id);
}
